﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WarehouseManagement.Domain.Entity
{
    /// <summary>
    /// 仓库调拨表
    /// </summary>
    [SugarTable("Allocate")]
    public class Allocate:Audit
    {
        /// <summary>
        /// 仓库调拨id
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int AllocateId { get; set; }
        /// <summary>
        /// 单据主题
        /// </summary>
        public string? AName { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string? ANumber { get; set; }
        /// <summary>
        /// 调拨日期
        /// </summary>
        public DateTime? ADate { get; set; }
        /// <summary>
        /// 库管人员
        /// </summary>
        public string? AWarehousePersonnel { get; set; }
        /// <summary>
        /// 选择调出仓库
        /// </summary>
        public string? AGoWarehouse { get; set; }
        /// <summary>
        /// 仓库id
        /// </summary>
        public int? WarehouseId { get; set; }
        /// <summary>
        /// 选择调出产品
        /// </summary>
        public string? ARecallProduct { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public int? ProductId { get; set; }
        /// <summary>
        /// 调拨状态
        /// </summary>
        public int? AState { get; set; }
    }
}
